<template>
	<view>
		<template v-for="(item, index) in tableData">
			<uni-card :key="index" :title="item.name" :sub-title="item.ip" thumbnail="/static/images/icon/alarm.png">
				<text>{{item.msg}}</text>
			</uni-card>
		</template>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				tableData: []
			}
		},
		onLoad(option) {
			this.tableData = JSON.parse(decodeURIComponent(option.data))
		}
	}
</script>

<style>
</style>